package com.hyt.it.ogt.kq.service.model.entity.admission;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 准考证定义表
 * </p>
 *
 * @author yanghuankun@talkweb.com.cn
 * @since 2023-01-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("at_admission_ticket_info")
@ApiModel(value = "AdmissionTicketInfo对象", description = "准考证定义表")
public class AdmissionTicketInfo extends BaseEntity {

    @ApiModelProperty(value = "机构id")
    private String officeId;

    @ApiModelProperty(value = "部门id")
    private String deptId;

    @ApiModelProperty(value = "准考证模板id")
    private String admissionTicketTemplateId;

    @ApiModelProperty(value = "模板类型 1、标准模板一，2、标准模板二，3、自定义模板")
    private Integer admissionTicketTemplateType;

    @ApiModelProperty(value = "准考证名称")
    private String admissionTicketName;

    @ApiModelProperty(value = "准考证数据来源 1、无考场，2、虚拟考场")
    private Integer admissionTicketDataSource;

    @ApiModelProperty(value = "考试id")
    private String examId;

    @ApiModelProperty(value = "考试名称")
    private String examName;

    @ApiModelProperty(value = "考试开始时间")
    private LocalDateTime beginDate;

    @ApiModelProperty(value = "考试结束时间")
    private LocalDateTime endDate;

    @ApiModelProperty(value = "科目设置 1-单科目生成 2-多科目生成")
    private Integer subjectSetting;

    @ApiModelProperty(value = "归档状态")
    private Boolean archiveStatus;

    @ApiModelProperty(value = "发布状态")
    private Boolean publishStatus;

    @ApiModelProperty(value = "创建状态 false-未创建完成 true-创建完成")
    private Boolean createStatus;
}
